# # 1.导包
# import openpyxl
#
# # 2.实例化 -- 创建工作簿
# wb = openpyxl.Workbook()
#
# # 3.调用函数--保存工作簿
# wb.save('06workbook.xlsx')

from openpyxl import Workbook

wb = Workbook()

# 设置工作簿的属性
# properties

wb.properties.title ='标题 动物世界'
wb.properties.subject = '主题 保护动物'
wb.properties.category = '类别'
wb.properties.keywords ='濒危'
wb.properties.creator = 'LCF'
wb.properties.description = "备注信息"

wb.save('06workbook.xlsx')

print('创建工作簿.....')

